<template>
	<view class="home">
		<customerMy v-if="isLoginType==2"/>
		<JsMy v-if="isLoginType==1"/>
	</view>
</template>

<script>
	import customerMy from './component/customerMy.vue'
	import JsMy from './component/JsMy.vue'
	export default {
			components: {
				customerMy,
				JsMy
			},
			data() {
				return {
				isLoginType:2,// 1计师2客户
				infoData:{},
				}
			},
			onLoad() {
				this.infoData= this.$store.state.userInfo
			},
			onShow() {
				uni.hideTabBar();
				this.isLoginType=this.$store.state.isLoginType
			},
			methods: {
			}
		}

</script>

<style scoped lang="less">

</style>